package com.ss.android.account.customview.a;

import android.content.Context;
import android.support.v4.app.FragmentActivity;

import com.ss.android.account.activity.mobile.d.c;
import com.ss.android.account.v2.b.f;

public final class e {
    public interface a {
        void a(String arg1);
    }

    public FragmentActivity a;
    public com.ss.android.account.v2.b.a b;
    public com.ss.android.account.activity.mobile.a c;
    public f d;

    public e(FragmentActivity arg2) {

        this.a = arg2;
        this.b = new com.ss.android.account.v2.b.a(((Context)arg2));
    }

    public static boolean a(int arg3, Object arg4) {
        boolean v0 = true;
        int v2 = arg3 == 1101 || arg3 == 1102 || arg3 == 1103 ? 1 : 0;
        if(v2 == 0 || !(arg4 instanceof c) || !((c)arg4).a()) {
            v0 = false;
        }

        return v0;
    }

    public final void a(String arg3, String arg4) {
        if(this.c != null && this.a.getSupportFragmentManager().findFragmentByTag("captcha") != null) {
            this.c.a(arg3, arg4, this.c.e);
        }
    }
}

